Documentation ¶
Index ¶
- Variables
- func BoolValueRefs() (*bool, *bool)
- func CheckAttributes(t *testing.T, attrs []*commonV1.KeyValue, ...) *commonV1.AnyValue
- func CheckCounterMetricIsGreaterThen(value float64, families map[string]*promdto.MetricFamily, metrics ...string) error
- func CheckCounterMetricIsZero(families map[string]*promdto.MetricFamily, metrics ...string) error
- func CheckPayload(t *testing.T, payload *commonV1.AnyValue, encoding string)
- func CheckResource(t *testing.T, res *resourceV1.Resource, hubbleResp *observer.GetFlowsResponse)
- func GetFlowSamples(t *testing.T, path string) []*observer.GetFlowsResponse
- func GetMetricFamilies(ctx context.Context, t *testing.T, url string) map[string]*promdto.MetricFamily
- func IsEOF(err error) bool
- func RunOpenTelemtryCollector(ctx context.Context, t *testing.T, configPath string, fatal chan<- error, ...)
- func WaitForServer(ctx context.Context, logf func(format string, args ...interface{}), ...)
- type TLSPaths
Constants ¶
This section is empty.
Variables ¶
View Source
var RunMockHubble = mockHubbleObeserver.Run
Functions ¶
func BoolValueRefs ¶
func CheckAttributes ¶
func CheckCounterMetricIsZero ¶
func CheckCounterMetricIsZero(families map[string]*promdto.MetricFamily, metrics ...string) error
func CheckResource ¶
func CheckResource(t *testing.T, res *resourceV1.Resource, hubbleResp *observer.GetFlowsResponse)
func GetFlowSamples ¶
func GetFlowSamples(t *testing.T, path string) []*observer.GetFlowsResponse
func GetMetricFamilies ¶
Types ¶
type TLSPaths ¶
type TLSPaths = mockHubbleObeserver.TLSPaths
Click to show internal directories.
Click to hide internal directories.