Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayInfo ¶
type GatewayInfo struct { Metadata *mcp.Metadata Gateway *networking.Gateway }
GatewayInfo ...
type IngressGateway ¶
type IngressGateway struct {
// contains filtered or unexported fields
}
IngressGateway is a utility to find Ingress Gateways services and pods
func (*IngressGateway) FindService ¶
func (ig *IngressGateway) FindService(namespaces []string, gateway *networking.Gateway) (string, string, error)
FindService tries to find a service that matches with the given gateway selector, in the given namespaces Returns the namespace and service name that is a match, or an error
Click to show internal directories.
Click to hide internal directories.