MCPcopy
hub / github.com/microsoft/retina / Step

Interface Step

test/e2e/framework/types/step.go:13–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13type Step interface {
14 // Useful when wanting to do parameter checking, for example
15 // if a parameter length is known to be required less than 80 characters,
16 // do this here so we don't find out later on when we run the step
17 // when possible, try to avoid making external calls, this should be fast and simple
18 Prevalidate() error
19
20 // Primary step where test logic is executed
21 // Returning an error will cause the test to fail
22 Run() error
23
24 // Require for background steps
25 Stop() error
26}
27
28type StepOptions struct {
29 ExpectError bool

Callers 17

RunMethod · 0.65
TestInstallOrUpdateCRDsFunction · 0.65
attachToShellFunction · 0.65
TestIPToHexFunction · 0.65
TestBuildIPFilterFunction · 0.65
TestBuildCIDRFilterFunction · 0.65
runBpftraceFunction · 0.65
waitForPodReadyMethod · 0.65
mainFunction · 0.65

Implementers 15

ValidateRetinaDropMetrictest/e2e/scenarios/drop/validate-drop-
CurlPodtest/e2e/scenarios/hubble/flow/types.g
validateBasicDNSRequestMetricstest/e2e/scenarios/dns/validate-basic-
validateBasicDNSResponseMetricstest/e2e/scenarios/dns/validate-basic-
ValidateAdvancedDNSRequestMetricstest/e2e/scenarios/dns/validate-advanc
ValidateAdvanceDNSResponseMetricstest/e2e/scenarios/dns/validate-advanc
ValidateHNSMetrictest/e2e/scenarios/windows/validate-hn
ValidateAPIServerLatencyMetrictest/e2e/scenarios/latency/validate-la
PublishPerfResultstest/e2e/scenarios/perf/publish-perf-r
GetNetworkPerformanceMeasurestest/e2e/scenarios/perf/get-network-pe
GetNetworkDeltaResultstest/e2e/scenarios/perf/get-perf-regre
InstallRetinaPlugintest/e2e/scenarios/capture/install-ret

Calls

no outgoing calls

Tested by

no test coverage detected