Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "ingresses"
Name is the registry key for this scanner.
Variables ¶
This section is empty.
Functions ¶
func NewScanner ¶
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.
Click to show internal directories.
Click to hide internal directories.