Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceEndpoint ¶
ServiceEndpoint is the Host/Port of the K8s endpoint.
var Endpoint ServiceEndpoint
Endpoint is the default ServiceEndpoint learned from environment variables.
func (ServiceEndpoint) CNIAPIRoot ¶
func (k8s ServiceEndpoint) CNIAPIRoot() string
func (ServiceEndpoint) DestinationEntityRule ¶ added in v1.37.0
func (k8s ServiceEndpoint) DestinationEntityRule() (*calicov3.EntityRule, error)
DestinationEntityRule returns an EntityRule to match the Host and Port if the ServiceEndpoint was set. It returns nil if either was empty.
Click to show internal directories.
Click to hide internal directories.