Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance interface { echo.Caller // HTTPAddress returns the external HTTP (80) address of the ingress gateway ((or the NodePort address, // // when in an environment that doesn't support LoadBalancer). HTTPAddress() (string, int) // HTTPSAddress returns the external HTTPS (443) address of the ingress gateway (or the NodePort address, // // when in an environment that doesn't support LoadBalancer). HTTPSAddress() (string, int) // TCPAddress returns the external TCP (31400) address of the ingress gateway (or the NodePort address, // when in an environment that doesn't support LoadBalancer). TCPAddress() (string, int) // DiscoveryAddress returns the external XDS (!5012) address on the ingress gateway (or the NodePort address, // when in an evnironment that doesn't support LoadBalancer). DiscoveryAddress() net.TCPAddr // AddressForPort returns the external address of the ingress gateway (or the NodePort address, // when in an environment that doesn't support LoadBalancer) for the given port. AddressForPort(port int) (string, int) // ProxyStats returns proxy stats, or error if failure happens. ProxyStats() (map[string]int, error) // PodID returns the name of the ingress gateway pod of index i. Returns error if failed to get the pod // or the index is out of boundary. PodID(i int) (string, error) // Cluster the ingress is deployed to Cluster() cluster.Cluster // Namespace of the ingress Namespace() string }
Instance represents a deployed Ingress Gateway instance.
Click to show internal directories.
Click to hide internal directories.