import "istio.io/istio/pkg/test/framework/components/echo/common"
call.go config.go envoy.go portgen.go
AddPortIfMissing adds a port for the given protocol if none was found.
func CallEcho(opts *echo.CallOptions, retry bool, retryOptions ...retry.Option) (client.ParsedResponses, error)
func ForwardEcho(srcName string, c *client.Instance, opts *echo.CallOptions, retry bool, retryOptions ...retry.Option) (client.ParsedResponses, error)
GetPortForProtocol returns the first port found with the given protocol, or nil if none was found.
func WaitForConfig(fetch ConfigFetchFunc, accept ConfigAcceptFunc, options ...retry.Option) error
type ConfigAcceptFunc func(*envoyAdmin.ConfigDump) (bool, error)
ConfigAcceptFunc evaluates the Envoy config dump and either accept/reject it. This is used by WaitForConfig to control the retry loop. If an error is returned, a retry will be attempted. Otherwise the loop is immediately terminated with an error if rejected or none if accepted.
type ConfigFetchFunc func() (*envoyAdmin.ConfigDump, error)
ConfigFetchFunc retrieves the config dump from Envoy.
Package common imports 23 packages (graph) and is imported by 4 packages. Updated 2021-01-02. Refresh now. Tools for package owners.