SYMBOL INDEX (174 symbols across 42 files) FILE: cmd/netassert/cli/common.go function loadTestCases (line 12) | func loadTestCases(testCasesFile, testCasesDir string) (data.Tests, erro... function createService (line 39) | func createService(kubeconfigPath string, l hclog.Logger) (*kubeops.Serv... FILE: cmd/netassert/cli/gen_result.go function genResult (line 13) | func genResult(testCases data.Tests, tapFile string, lg hclog.Logger) er... FILE: cmd/netassert/cli/main.go function main (line 9) | func main() { FILE: cmd/netassert/cli/ping.go constant apiServerHealthEndpoint (line 17) | apiServerHealthEndpoint = `/healthz` type pingCmdConfig (line 20) | type pingCmdConfig struct function ping (line 49) | func ping(ctx context.Context, lg hclog.Logger, k8sSvc *kubeops.Service) { function init (line 67) | func init() { FILE: cmd/netassert/cli/root.go function init (line 31) | func init() { FILE: cmd/netassert/cli/run.go type runCmdConfig (line 19) | type runCmdConfig struct function runTests (line 67) | func runTests(lg hclog.Logger) error { function init (line 126) | func init() { FILE: cmd/netassert/cli/validate.go type validateCmdConfig (line 11) | type validateCmdConfig struct function validateTestCases (line 29) | func validateTestCases(cmd *cobra.Command, args []string) { function init (line 40) | func init() { FILE: cmd/netassert/cli/version.go function versionDetails (line 20) | func versionDetails(cmd *cobra.Command, args []string) { FILE: e2e/e2e_test.go constant suffixLength (line 26) | suffixLength = 9 constant snifferContainerImage (line 27) | snifferContainerImage = "docker.io/controlplane/netassertv2-packet-sni... constant snifferContainerPrefix (line 28) | snifferContainerPrefix = "netassertv2-sniffer" constant scannerContainerImage (line 29) | scannerContainerImage = "docker.io/controlplane/netassertv2-l4-client:... constant scannerContainerPrefix (line 30) | scannerContainerPrefix = "netassertv2-client" constant pauseInSeconds (line 31) | pauseInSeconds = 5 constant packetCaputureInterface (line 32) | packetCaputureInterface = `eth0` constant testCasesFile (line 33) | testCasesFile = `./manifests/test-cases.yaml` constant resultFile (line 34) | resultFile = "result.log" type MinimalK8sObject (line 45) | type MinimalK8sObject struct function TestMain (line 65) | func TestMain(m *testing.M) { function TestKind (line 70) | func TestKind(t *testing.T) { function TestGKEWithVPC (line 81) | func TestGKEWithVPC(t *testing.T) { function TestGKEWithDataPlaneV2 (line 92) | func TestGKEWithDataPlaneV2(t *testing.T) { function TestEKSWithVPC (line 103) | func TestEKSWithVPC(t *testing.T) { function TestEKSWithCalico (line 115) | func TestEKSWithCalico(t *testing.T) { function waitUntilManifestReady (line 127) | func waitUntilManifestReady(t *testing.T, svc *kubeops.Service, manifest... function createTestDestroy (line 175) | func createTestDestroy(t *testing.T, gc helpers.GenericCluster) { function runTests (line 243) | func runTests(ctx context.Context, t *testing.T, svc *kubeops.Service, n... FILE: e2e/helpers/common.go constant VPC (line 6) | VPC NetworkMode = "vpc" constant DataPlaneV2 (line 7) | DataPlaneV2 NetworkMode = "dataplanev2" constant Calico (line 8) | Calico NetworkMode = "calico" type NetworkMode (line 11) | type NetworkMode type GenericCluster (line 13) | type GenericCluster interface FILE: e2e/helpers/eks.go type EKSCluster (line 18) | type EKSCluster struct method Create (line 66) | func (g *EKSCluster) Create(t *testing.T) { method installCalico (line 78) | func (g *EKSCluster) installCalico(t *testing.T) { method Destroy (line 122) | func (g *EKSCluster) Destroy(t *testing.T) { method KubeConfigGet (line 128) | func (g *EKSCluster) KubeConfigGet() string { method SkipNetPolTests (line 132) | func (g *EKSCluster) SkipNetPolTests() bool { function NewEKSCluster (line 29) | func NewEKSCluster(t *testing.T, terraformDir, clusterNameSuffix string,... FILE: e2e/helpers/gke.go type GKECluster (line 9) | type GKECluster struct method Create (line 46) | func (g *GKECluster) Create(t *testing.T) { method Destroy (line 54) | func (g *GKECluster) Destroy(t *testing.T) { method KubeConfigGet (line 60) | func (g *GKECluster) KubeConfigGet() string { method SkipNetPolTests (line 64) | func (g *GKECluster) SkipNetPolTests() bool { function NewGKECluster (line 20) | func NewGKECluster(t *testing.T, terraformDir, clusterNameSuffix string,... FILE: e2e/helpers/kind.go type KindCluster (line 12) | type KindCluster struct method Create (line 33) | func (k *KindCluster) Create(t *testing.T) { method Destroy (line 60) | func (k *KindCluster) Destroy(t *testing.T) { method KubeConfigGet (line 71) | func (k *KindCluster) KubeConfigGet() string { method SkipNetPolTests (line 75) | func (k *KindCluster) SkipNetPolTests() bool { function NewKindCluster (line 20) | func NewKindCluster(t *testing.T, WorkspaceDir string, clusterNameSuffix... FILE: internal/data/read.go constant fileExtensionYAML (line 11) | fileExtensionYAML = `.yaml` constant fileExtensionYML (line 12) | fileExtensionYML = `.yml` function ReadTestsFromDir (line 17) | func ReadTestsFromDir(path string) (Tests, error) { function ReadTestsFromFile (line 64) | func ReadTestsFromFile(fileName string) (Tests, error) { FILE: internal/data/read_test.go function TestReadTestFile (line 10) | func TestReadTestFile(t *testing.T) { function TestReadTestsFromDir (line 50) | func TestReadTestsFromDir(t *testing.T) { FILE: internal/data/tap.go method TAPResult (line 11) | func (ts *Tests) TAPResult(w io.Writer) error { FILE: internal/data/tap_test.go function TestTests_TAPResult (line 10) | func TestTests_TAPResult(t *testing.T) { FILE: internal/data/types.go type Protocol (line 12) | type Protocol constant ProtocolTCP (line 16) | ProtocolTCP Protocol = "tcp" constant ProtocolUDP (line 19) | ProtocolUDP Protocol = "udp" type K8sResourceKind (line 23) | type K8sResourceKind constant KindDeployment (line 26) | KindDeployment K8sResourceKind = "deployment" constant KindStatefulSet (line 27) | KindStatefulSet K8sResourceKind = "statefulset" constant KindDaemonSet (line 28) | KindDaemonSet K8sResourceKind = "daemonset" constant KindPod (line 29) | KindPod K8sResourceKind = "pod" type TestType (line 42) | type TestType constant K8sTest (line 45) | K8sTest TestType = "k8s" type K8sResource (line 54) | type K8sResource struct method validate (line 95) | func (r *K8sResource) validate() error { type Src (line 62) | type Src struct method validate (line 161) | func (d *Src) validate() error { type Host (line 67) | type Host struct method validate (line 127) | func (h *Host) validate() error { type Dst (line 72) | type Dst struct method validate (line 140) | func (d *Dst) validate() error { type Test (line 78) | type Test struct method validate (line 174) | func (te *Test) validate() error { method setDefaults (line 254) | func (te *Test) setDefaults() { method UnmarshalYAML (line 306) | func (te *Test) UnmarshalYAML(node *yaml.Node) error { type Tests (line 93) | type Tests method Validate (line 234) | func (ts *Tests) Validate() error { method UnmarshalYAML (line 269) | func (ts *Tests) UnmarshalYAML(node *yaml.Node) error { function NewFromReader (line 286) | func NewFromReader(r io.Reader) (Tests, error) { FILE: internal/data/types_test.go function TestNewFromReader (line 12) | func TestNewFromReader(t *testing.T) { FILE: internal/engine/engine.go type Engine (line 18) | type Engine struct method GetPod (line 29) | func (e *Engine) GetPod(ctx context.Context, res *data.K8sResource) (*... method RunTests (line 50) | func (e *Engine) RunTests( method RunTest (line 109) | func (e *Engine) RunTest( function New (line 24) | func New(service NetAssertTestRunner, log hclog.Logger) *Engine { function cancellableDelay (line 90) | func cancellableDelay(ctx context.Context, duration time.Duration) { FILE: internal/engine/engine_daemonset_test.go function TestEngine_GetPod_DaemonSet (line 17) | func TestEngine_GetPod_DaemonSet(t *testing.T) { FILE: internal/engine/engine_deployment_test.go function TestEngine_GetPod_Deployment (line 17) | func TestEngine_GetPod_Deployment(t *testing.T) { FILE: internal/engine/engine_mocks_test.go type MockNetAssertTestRunner (line 17) | type MockNetAssertTestRunner struct method EXPECT (line 35) | func (m *MockNetAssertTestRunner) EXPECT() *MockNetAssertTestRunnerMoc... method BuildEphemeralScannerContainer (line 40) | func (m *MockNetAssertTestRunner) BuildEphemeralScannerContainer(arg0,... method BuildEphemeralSnifferContainer (line 55) | func (m *MockNetAssertTestRunner) BuildEphemeralSnifferContainer(arg0,... method GetExitStatusOfEphemeralContainer (line 70) | func (m *MockNetAssertTestRunner) GetExitStatusOfEphemeralContainer(ar... method GetPod (line 85) | func (m *MockNetAssertTestRunner) GetPod(arg0 context.Context, arg1, a... method GetPodInDaemonSet (line 100) | func (m *MockNetAssertTestRunner) GetPodInDaemonSet(arg0 context.Conte... method GetPodInDeployment (line 115) | func (m *MockNetAssertTestRunner) GetPodInDeployment(arg0 context.Cont... method GetPodInStatefulSet (line 130) | func (m *MockNetAssertTestRunner) GetPodInStatefulSet(arg0 context.Con... method LaunchEphemeralContainerInPod (line 145) | func (m *MockNetAssertTestRunner) LaunchEphemeralContainerInPod(arg0 c... type MockNetAssertTestRunnerMockRecorder (line 23) | type MockNetAssertTestRunnerMockRecorder struct method BuildEphemeralScannerContainer (line 49) | func (mr *MockNetAssertTestRunnerMockRecorder) BuildEphemeralScannerCo... method BuildEphemeralSnifferContainer (line 64) | func (mr *MockNetAssertTestRunnerMockRecorder) BuildEphemeralSnifferCo... method GetExitStatusOfEphemeralContainer (line 79) | func (mr *MockNetAssertTestRunnerMockRecorder) GetExitStatusOfEphemera... method GetPod (line 94) | func (mr *MockNetAssertTestRunnerMockRecorder) GetPod(arg0, arg1, arg2... method GetPodInDaemonSet (line 109) | func (mr *MockNetAssertTestRunnerMockRecorder) GetPodInDaemonSet(arg0,... method GetPodInDeployment (line 124) | func (mr *MockNetAssertTestRunnerMockRecorder) GetPodInDeployment(arg0... method GetPodInStatefulSet (line 139) | func (mr *MockNetAssertTestRunnerMockRecorder) GetPodInStatefulSet(arg... method LaunchEphemeralContainerInPod (line 155) | func (mr *MockNetAssertTestRunnerMockRecorder) LaunchEphemeralContaine... function NewMockNetAssertTestRunner (line 28) | func NewMockNetAssertTestRunner(ctrl *gomock.Controller) *MockNetAssertT... FILE: internal/engine/engine_pod_test.go function TestEngine_GetPod_Pod (line 17) | func TestEngine_GetPod_Pod(t *testing.T) { FILE: internal/engine/engine_statefulset_test.go function TestEngine_GetPod_StatefulSet (line 17) | func TestEngine_GetPod_StatefulSet(t *testing.T) { FILE: internal/engine/interface.go type PodGetter (line 11) | type PodGetter interface type EphemeralContainerOperator (line 19) | type EphemeralContainerOperator interface type NetAssertTestRunner (line 57) | type NetAssertTestRunner interface FILE: internal/engine/run_tcp.go method RunTCPTest (line 15) | func (e *Engine) RunTCPTest( method CheckExitStatusOfEphContainer (line 108) | func (e *Engine) CheckExitStatusOfEphContainer( FILE: internal/engine/run_tcp_test.go function TestEngine_RunTCPTest (line 38) | func TestEngine_RunTCPTest(t *testing.T) { FILE: internal/engine/run_udp.go constant defaultNetInt (line 15) | defaultNetInt = `eth0` constant defaultSnapLen (line 16) | defaultSnapLen = 1024 constant ephemeralContainersExtraSeconds (line 17) | ephemeralContainersExtraSeconds = 23 constant attemptsMultiplier (line 18) | attemptsMultiplier = 3 method RunUDPTest (line 22) | func (e *Engine) RunUDPTest( FILE: internal/kubeops/client.go function generateKubernetesClient (line 16) | func generateKubernetesClient() (kubernetes.Interface, error) { function genK8sClientFromKubeConfigFile (line 37) | func genK8sClientFromKubeConfigFile(kubeConfigPath string) (kubernetes.I... type Service (line 52) | type Service struct function New (line 58) | func New(client kubernetes.Interface, l hclog.Logger) *Service { function NewDefaultService (line 66) | func NewDefaultService(l hclog.Logger) (*Service, error) { function NewServiceFromKubeConfigFile (line 79) | func NewServiceFromKubeConfigFile(kubeConfigPath string, l hclog.Logger)... FILE: internal/kubeops/container_test.go function TestLaunchEphemeralContainerInPod_InvalidEphemeralContainer (line 14) | func TestLaunchEphemeralContainerInPod_InvalidEphemeralContainer(t *test... FILE: internal/kubeops/containers.go method LaunchEphemeralContainerInPod (line 19) | func (svc *Service) LaunchEphemeralContainerInPod( method BuildEphemeralSnifferContainer (line 66) | func (svc *Service) BuildEphemeralSnifferContainer( method BuildEphemeralScannerContainer (line 126) | func (svc *Service) BuildEphemeralScannerContainer( method GetExitStatusOfEphemeralContainer (line 178) | func (svc *Service) GetExitStatusOfEphemeralContainer( FILE: internal/kubeops/daemonset.go method GetPodInDaemonSet (line 14) | func (svc *Service) GetPodInDaemonSet(ctx context.Context, name, namespa... FILE: internal/kubeops/daemonset_test.go function createDaemonSet (line 17) | func createDaemonSet(client kubernetes.Interface, function deaemonSetPod (line 64) | func deaemonSetPod( function TestGetPodInDaemonSet (line 112) | func TestGetPodInDaemonSet(t *testing.T) { FILE: internal/kubeops/deployment.go method GetPodInDeployment (line 15) | func (svc *Service) GetPodInDeployment(ctx context.Context, name, namesp... FILE: internal/kubeops/deployment_test.go function getDeploymentObject (line 19) | func getDeploymentObject(name, namespace string, replicaSize int32) *app... function replicaSetWithOwnerSetToDeployment (line 68) | func replicaSetWithOwnerSetToDeployment(deploy *appsv1.Deployment, size ... function podWithOwnerSetToReplicaSet (line 91) | func podWithOwnerSetToReplicaSet(rs *appsv1.ReplicaSet) *corev1.Pod { function TestGetPodInDeployment (line 111) | func TestGetPodInDeployment(t *testing.T) { FILE: internal/kubeops/pod.go constant ephContainerGroup (line 19) | ephContainerGroup = "" constant ephContainerVersion (line 20) | ephContainerVersion = "v1" constant ephContainerKind (line 21) | ephContainerKind = "Pod" constant ephContainerRes (line 22) | ephContainerRes = "pods/ephemeralcontainers" method GetPod (line 26) | func (svc *Service) GetPod(ctx context.Context, name, namespace string) ... function getRandomPodFromPodList (line 59) | func getRandomPodFromPodList(ownerObj metav1.Object, podList *corev1.Pod... method CheckEphemeralContainerSupport (line 100) | func (svc *Service) CheckEphemeralContainerSupport(ctx context.Context) ... function checkResourceSupport (line 119) | func checkResourceSupport( method PingHealthEndpoint (line 143) | func (svc *Service) PingHealthEndpoint(ctx context.Context, endpoint str... method WaitForPodInResourceReady (line 153) | func (svc *Service) WaitForPodInResourceReady(name, namespace, resourceT... FILE: internal/kubeops/pod_test.go function TestGetPod (line 14) | func TestGetPod(t *testing.T) { FILE: internal/kubeops/statefulset.go method GetPodInStatefulSet (line 15) | func (svc *Service) GetPodInStatefulSet(ctx context.Context, name, names... FILE: internal/kubeops/statefulset_test.go function createStatefulSet (line 20) | func createStatefulSet(client kubernetes.Interface, name, namespace stri... function createStatefulSetPod (line 88) | func createStatefulSetPod( function TestGetPodInStatefulSet (line 119) | func TestGetPodInStatefulSet(t *testing.T) { FILE: internal/kubeops/string_gen.go constant charset (line 10) | charset = "abcdefghijklmnopqrstuvwxyz123456789" function NewUUIDString (line 14) | func NewUUIDString() (string, error) { function RandString (line 24) | func RandString(length int) string { FILE: internal/logger/hclog.go function NewHCLogger (line 12) | func NewHCLogger(logLevel, appName string, w io.Writer) hclog.Logger {