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 }
type Response ¶
type Response struct { *Contour *envoy_discovery_v3.DiscoveryResponse }
func (*Response) Equals ¶
func (r *Response) Equals(want *envoy_discovery_v3.DiscoveryResponse) *Contour
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.
Click to show internal directories.
Click to hide internal directories.