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 ¶
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 (v *ValidateHubbleDropMetric) Run() error
func (*ValidateHubbleDropMetric) Stop ¶
func (v *ValidateHubbleDropMetric) Stop() error
Click to show internal directories.
Click to hide internal directories.