matcher

package
v0.23.0-beta3.patch5 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match struct {
	Srcs  *netipx.IPSet
	Dests *netipx.IPSet
}

func MatchFromFilterRule

func MatchFromFilterRule(rule tailcfg.FilterRule) Match

func MatchFromStrings

func MatchFromStrings(sources, destinations []string) Match

func (*Match) DestsContainsIP

func (m *Match) DestsContainsIP(ips []netip.Addr) bool

func (*Match) SrcsContainsIPs

func (m *Match) SrcsContainsIPs(ips []netip.Addr) bool

Jump to

Keyboard shortcuts

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