istio: istio.io/istio/pkg/test/framework/components/istio/ingress Index | Files

package ingress

import "istio.io/istio/pkg/test/framework/components/istio/ingress"

Index

Package Files

interface.go

type Instance Uses

type Instance interface {
    // 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() net.TCPAddr
    // 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() net.TCPAddr
    // 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() net.TCPAddr
    // 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

    // CallEcho makes a call through ingress using the echo call and response types.
    CallEcho(options echo.CallOptions) (client.ParsedResponses, error)
    CallEchoOrFail(t test.Failer, options echo.CallOptions) client.ParsedResponses
    CallEchoWithRetry(options echo.CallOptions, retryOptions ...retry.Option) (client.ParsedResponses, error)
    CallEchoWithRetryOrFail(t test.Failer, options echo.CallOptions, retryOptions ...retry.Option) client.ParsedResponses

    // 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)
}

Instance represents a deployed Ingress Gateway instance.

Package ingress imports 5 packages (graph) and is imported by 2 packages. Updated 2020-10-15. Refresh now. Tools for package owners.