v3

package
v1.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2021 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultCluster

func DefaultCluster(clusters ...*envoy_cluster_v3.Cluster) *envoy_cluster_v3.Cluster

DefaultCluster returns a copy of the default Cluster, with each Cluster given in the parameter slice merged on top. This makes it relatively fluent to compose Clusters by tweaking a few fields.

Types

type Contour

type Contour struct {
	*grpc.ClientConn
	*testing.T
	// contains filtered or unexported fields
}

func (*Contour) NoStatus

func (c *Contour) NoStatus(obj interface{}) *Contour

NoStatus asserts that the given object did not get any status set.

func (*Contour) Request

func (c *Contour) Request(typeurl string, names ...string) *Response

func (*Contour) Status

func (c *Contour) Status(obj interface{}) *statusResult

Status returns a statusResult object that can be used to assert on object status fields.

type Response

type Response struct {
	*Contour
	*envoy_discovery_v3.DiscoveryResponse
}

func (*Response) Equals

Equals tests that the response retrieved from Contour is equal to the supplied value. TODO(youngnick) This function really should be copied to an `EqualResources` function.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL