drop

package
v1.15.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Hubble drop reasons
	UnsupportedL3Protocol = "UNSUPPORTED_L3_PROTOCOL"
	PolicyDenied          = "POLICY_DENIED"

	// L4 protocols
	TCP = "TCP"
	UDP = "UDP"
)

Variables

View Source
var ErrNoMetricFound = fmt.Errorf("no metric found")

Functions

func ValidateDropMetric

func ValidateDropMetric() *types.Scenario

Types

type ValidateHubbleDropMetric

type ValidateHubbleDropMetric struct {
	PortForwardedHubblePort string // presumably port-forwarded to a cilium pod
	Source                  string
	Protocol                string
	Reason                  string
}

func (*ValidateHubbleDropMetric) Prevalidate

func (v *ValidateHubbleDropMetric) Prevalidate() error

func (*ValidateHubbleDropMetric) Run

func (*ValidateHubbleDropMetric) Stop

func (v *ValidateHubbleDropMetric) Stop() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL