matchutils

package
v1.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 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 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