ingress

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "ingresses"

Name is the registry key for this scanner.

Variables

This section is empty.

Functions

func NewScanner

func NewScanner() scanner.Scanner

NewScanner returns a scanner that lists all ingress resources in a cluster.

Types

type Data

type Data struct {
	// Count is the total number of ingress resources.
	Count int `json:"count"`
	// Ingresses lists all ingress resources.
	Ingresses []IngressInfo `json:"ingresses"`
}

Data holds ingress information for one cluster.

type IngressInfo

type IngressInfo struct {
	// Namespace is the namespace containing the ingress.
	Namespace string `json:"namespace"`
	// Name is the ingress name.
	Name string `json:"name"`
	// IngressClassName is the ingress class (nil if unset).
	IngressClassName string `json:"ingress_class_name,omitempty"`
	// Hosts lists the hostnames configured on this ingress.
	Hosts []string `json:"hosts,omitempty"`
	// TLS indicates whether TLS is configured.
	TLS bool `json:"tls"`
}

IngressInfo describes a single ingress resource.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL