matchutils

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package matchutils provides utils to match network services and network service endpoints

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSubset added in v1.1.0

func IsSubset(a, b, values map[string]string) bool

IsSubset checks if B is a subset of A. Tries to process values for each B value.

func MatchEndpoint added in v1.11.0

MatchEndpoint filters input nses by network service configuration. Returns the same nses list if no matches are declared in the network service.

func MatchNetworkServiceEndpoints

func MatchNetworkServiceEndpoints(left, right *registry.NetworkServiceEndpoint) bool

MatchNetworkServiceEndpoints returns true if two network service endpoints are matched

func MatchNetworkServices

func MatchNetworkServices(left, right *registry.NetworkService) bool

MatchNetworkServices returns true if two network services are matched

Types

This section is empty.

Jump to

Keyboard shortcuts

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