Documentation
¶
Overview ¶
Package featuretests provides end to end tests of specific features.
Index ¶
Constants ¶
View Source
const ( // generated by https://www.selfsignedcertificate.com CERTIFICATE = `` /* 1138-byte string literal not displayed */ RSA_PRIVATE_KEY = `` /* 1678-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func DefaultCluster ¶
func DefaultCluster(clusters ...*envoy_api_v2.Cluster) *envoy_api_v2.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_api_v2.DiscoveryResponse
}
func (*Response) Equals ¶
func (r *Response) Equals(want *envoy_api_v2.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.